package com.policyCloud.policyOauth.dao;

import com.policyCloud.policyOauth.pojo.CenterRole;
import com.policyCloud.policyOauth.pojo.CenterRoleCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CenterRoleMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(CenterRoleCriteria example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(CenterRoleCriteria example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int insert(CenterRole record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(CenterRole record);

    /**
     *
     * @mbg.generated
     */
    List<CenterRole> selectByExample(CenterRoleCriteria example);

    /**
     *
     * @mbg.generated
     */
    CenterRole selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") CenterRole record, @Param("example") CenterRoleCriteria example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") CenterRole record, @Param("example") CenterRoleCriteria example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(CenterRole record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(CenterRole record);

    List<CenterRole> selectPage(CenterRoleCriteria example);
}